sets relation and functions